#include("../../common/_container.html")
#define content()
<div class="col-sm-6  col-sm-offset-3">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>个人信息</h5>
        </div>
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-content" style="border:none !important; ">
                            <div class="form-horizontal" id="userInfoForm">

                                <input type="hidden" id="id" value="#(user.id)">
                                <input type="hidden" id="sexValue" value="#(user.sex)">

                                <div class="row">
                                    <div class="col-sm-6 b-r">
                                        #JplusInput(id='account',name='账户',value=user.account,underline=true)
                                        #JplusSelect(id='sex',name='性别',underline=true)
                                        <option value="1">男</option>
                                        <option value="2">女</option>
                                        #end
                                        #JplusInput(id='email',name='邮箱',value=user.email,underline=true)
                                        #JplusInput(id='phone',name='电话',value=user.phone,underline=true)

                                    </div>

                                    <div class="col-sm-6">
                                        <div id="driverInfoContent">
                                            #JplusInput(id='name',name='姓名',value=user.name,underline=true)
                                            #JplusInput(id='birthday',name='出生日期',value=user.birthday,onclick="laydate({istime: false, format: 'YYYY-MM-DD'})",underline=true)
                                            #JplusInput(id='deptName',name='部门',value=user.deptName,onclick="UserInfoDlg.showDeptSelectTree(); return false;",readonly="readonly",hidden="user.deptid",hiddenValue=user.deptid,underline=true,style='background-color= #ffffff !important;')

                                        </div>
                                    </div>
                                </div>

                                <div class="progress progress-striped" id="progressTipArea" style="margin-top: 20px;">
                                    <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" class="progress-bar progress-bar-info">
                                    </div>
                                </div>

                                <div class="row btn-group-m-t">
                                    <div class="col-sm-10">
                                        #JplusButton(id='ensure',name='提交',onclick='UserInfoDlg.editSubmit()',icon='fa-check',spaceCss=false)
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="#(CPATH)/static/module/admin/user/user_info.js"></script>
#end
